from lib2to3.pgen2 import driver

from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By

chrome_browser=webdriver.Chrome()
chrome_browser.get("https://www.ems.com.cn/")
chrome_browser.maximize_window()
clickable=driver.find_element(By.ID,"slide-verify-slider-mask-item")
ActionChains(chrome_browser).click_and_hold(clickable).perform()
'''用click_and_hold实现slide_block'''
'''ActionChains(chrome_browser).move_by_offset(x_axle_move,y_axle_move).perform()'''
